home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Interactive Reference Guide / C-C++ Interactive Reference Guide.iso / c_ref / csource5 / 336_01 / test.c < prev    next >
Text File  |  1990-02-09  |  808b  |  31 lines

  1. #include <stdio.h>
  2. #include <graphics.h>
  3.  
  4. main()
  5. {
  6.     int driver,mode;
  7.  
  8.     driver=VGA;
  9.     mode=VGAMED;
  10.     initgraph(&driver,&mode,"");
  11.     file_image(250,150,"dom-43.pli");
  12.     file_image(200,150,"dom-64.pli");
  13.     file_image(175,139,"dom-66.pli");
  14.     file_image(125,150,"dom-26.pli");
  15.     file_image(300,150,"dom-31.pli");
  16.     file_image(350,139,"dom-11.pli");
  17.     file_image(375,150,"dom-15.pli");
  18.     file_image(125,110,"dom-02.pli");
  19.     file_image(125,168,"dom-24.pli");
  20.     file_image(113,208,"dom-44.pli");
  21.     file_image(125,226,"dom-45.pli");
  22.     file_image(113, 92,"dom-00.pli");
  23.     file_image(125, 52,"dom-60.pli");
  24.     file_image(400,168,"dom-52.pli");
  25.     file_image(400,110,"dom-05.pli");
  26.     setbkcolor(1);
  27.     getch();
  28.     restorecrtmode();
  29.     return;
  30. }
  31.